package com.demo.service;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface HdfsService {
	
	public boolean uploadFile(String filePath, byte[] datas) throws IOException ;
	
	public InputStream downloadFile(String filePath) throws IOException ;
	
	public boolean deleteFileFromHDFS(String filePath) throws IOException ;
	
	public List<Map<String, Object>> getSubDirFileStatus(String dirPath) throws IOException ;

}
